from fastapi import APIRouter

from app.api import app, translation, generation

root_router = APIRouter()
root_router.include_router(app.router, tags=['App'], prefix='/api')
root_router.include_router(conversion.router, tags=['Translation'], prefix='/api/translation')  # 翻译
root_router.include_router(recognition.router, tags=['Generation'], prefix='/api/generation')  # 生成
